package by.pavlyukevich.paymentsystem.services.payment.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import by.pavlyukevich.paymentsystem.dataaccess.payment.impl.PaymentDetailDaoImpl;
import by.pavlyukevich.paymentsystem.datamodel.erip.EripName;
import by.pavlyukevich.paymentsystem.datamodel.payment.PaymentDetail;
import by.pavlyukevich.paymentsystem.services.impl.AbstractServiceImpl;
import by.pavlyukevich.paymentsystem.services.payment.PaymentDetailService;

@Service
public class PaymentDetailServiceImpl extends
		AbstractServiceImpl<Integer, PaymentDetail, PaymentDetailDaoImpl> implements
		PaymentDetailService {

	@Override
	public List<PaymentDetail> getPaymentsByErip(EripName eripName) {
		return dao.getPaymentsByErip(eripName);
	}

}
